package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;
import com.itheima.health.pojo.User;
import com.itheima.health.vo.UserVO;

import java.util.List;

public interface UserService extends IService<User> {
    UserVO findUserInfoByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    Boolean addAndUpdate(UserVO userVO);

    UserVO findroleandgroleids(Integer id);


    List<Menu> findMenuInfoByUsername(String username);
}
